package com.TanNgee.proxy.dynamicProxy.jdkDynamicProxy;

/**
 * @author 陈毅
 * @create 2022/3/19 21:05
 */
public class Main {
    public static void main(String[] args) {

        SmsService smsService = new SmsServiceImpl();
        SmsService smsServiceImplProxy = (SmsService) JdkProxyFactory.getProxy(smsService);

        smsServiceImplProxy.send("java");


    }
}
